# 练习2:
#     用列表定义10个同学的成绩,输出最高分,最低分,总分和平均值;

li = [1, 0, 23, 56, 88, 77, 66, 44, 22, 100]

sum_ = 0
highest = max(li)
lowest = min(li)
for i in li:
    sum_ += i

print(highest)
print(lowest)
print(sum_)
print(sum_ / 10)
